@include("system::admin.layouts._header")
<body>

<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form" method="post">

		<div class="layui-form-item">
			<label class="layui-form-label">任务名称</label>
			<div class="layui-input-block">
				<input type="text" name="name" class="layui-input" placeholder="请输入任务名称" value="">
				<tip>填写任务名称。</tip>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">文章ID</label>
			<div class="layui-input-block">
				<input type="text" name="article_id" class="layui-input" placeholder="请输入文章ID" value="">
				<tip>填写文章ID。</tip>
			</div>
		</div>

        <div class="layui-form-item">
            <label class="layui-form-label">发布账号</label>
            <div class="layui-input-block">
                @foreach(mpAccounts() as $account)
                    <input type="radio" name="appid" lay-skin="primary" value="{{$account->app_id}}" title="{{$account->name}}">
                @endforeach
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                <tip>保存后会将文章上传至公众平台素材库，暂时不会进行群发</tip>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
</body>
</html>
